Update Fraction.java

Writed reduce() method.