Dictionary using TRIE data structure