Attempt to commit suicide.Whoever attempts to commit suicide and does any act towards the commission of such offence, shall he punished with simple imprisonment for a term which may extend to one year 1or with fine, or with both.