Almost done with hw1.py