Solve the 'Word Ladder II' qustion