finds a combination of actual words to reach one word to another