Adding .gitignore file. Removing .pyc files.
Fixing bug.