Fraction calculator written in python.