Adding trie.py