Add .gitignore.
Remove __pycache__ directory.