Rational.cpp written