A pure python implementation of diverse trie structures