Algorithm to find all words in a given hand from a given dictionary.