maze.cpp