add .gitignore and delete *.pyc files