TRIE data structure