Insert the list of words one at a time into the initially empty trie.
New nodes can be added into the trie by activating the subtree after the desired character. The true/false bit can be toggled by clicking the node.
Some additional problems.