Update hw2.py

### added at bottom