Trie Almost completed, we need only to show the max words and their max values