Completed assignments for Part 1 and Rational number implementation in Java