Finalized version of Fraction Calculator