Finds the word chain between two words