Update rational_class.py