Added Trie Class