rectangle works now (see rectangle.py)
fixed overflow bug