Update FractionCalculator.java