implemented the RationalNumber operator >> function