program to calculate math and fractions