Print trie after adding all dictionary words