word game ii, trie + dfs