Cleaned the .pyc and ~ files and added .gitignore file