update cat.py
Add .gitignore file