added .gitignore

added .gitignore to avoid saving .pyc files and removed existing .pyc
files from the repository