Create rectangle.py

Exercise with class and methods