A simple maths parser