Implementations for various Trie data structures for Python