Updated rect.py added comments