Solves a 5 or 6 letter word jumble using a tree algorithm