Added a Rational number class.