modify main to match the new Trie constructor