committing a very basic Rational class with an overridden equals method