54. Every person who knowingly aids, by any act or omission, another person to commit an offence contemplated in section 51 or who advises, encourages or incites a person to commit an offence is a party to the offence and is liable to the penalty prescribed for the offence.