A ruby mathematical expression parser