finally word-ladder AC

erase every found word before pushing into the BFS queue