Add Rational number class and test