Update MazeSolver.cpp