cleaned up version of hw3 python
remove .pyc and corrected .gitignore