Display output, built trie for compound word dictionary search
Initial word search version solution