Rational.cpp

added rational.cpp