Rational.java part 2