FWIW, similar solutions to word ladder puzzles can be found in the previous discussions Solving word ladder puzzles and Solve Word Ladders. While the implementations may be slightly different, the end goal is the same (well, nearly - the focus is solving the puzzle in a set number of steps rather than the smallest number of them).