Create rational_class.py