rect.py done, all tests pass