Update Bfs Matrix Problems.cpp