Python Trie object for storage and reTRIEval of word strings