Create Rational.java

really lousy because didn't work on extensively.