commiting latest changes for phase1.py.