Word Ladder: BFS traversal