Create Rational.java

Allows rational numbers (i.e. integer/integer) to be simplified in polynomial input.