Add .gitignore file for .pyc and __pycache__ files.