Demonstrating a non-trie "scrabble" algorithm