Added a .gitignore

Added a .gitignore file ignoring __pycache__ folder and common python configurations. Based on https://github.com/github/gitignore