FractionCalculator code added to fractionCalculator