Initial word twist (online game) solver. All of 15 minutes of work.
Put all the trie operations into functions. Add simple list update operations.
Update head I think