Given a dictionary and two words of equal length that are in the dictionary, find a sequence of transformations required to rewrite the first word into the second one. Each word in the sequence must belong to the dictionary and must differ from the previous word by only one letter.
