Homework 13: Rational Class

some things still have to be changed