add .gitignore file
autopep8 trie.py

I'm not a pep8 nazi, but the formatting here is too much for my eyes.