Add .gitignore and remove .pyc files