Maths Professor pranks his students