Create math.lua

maths functions in lua