Updated .gitignore to ignore ~.txt and ~.py