Longest Word Made of Other Words using a trie