Update 1.2 BFS.cpp