an alternative implementation of find_words
planning lesson.25