337. Whoever causes hurt to any person by doing any act so rashly or negligently as to endanger human life or the personal safety of others, shall be punished with imprisonment for a term which may extend to six months or with fine which may extend to one thousand ringgit or with both.