Create the Trie class