cleaned up temporary files including *.swp and *.pyc and added .gitignore