add a BFS solution to word_ladder