Add .gitignore file

I retrieved the template for Python projects from here:
https://github.com/github/gitignore/blob/master/Python.gitignore
The only change I made was adding a header with the link above.