trie can print all words