Added class to model Rational numbers