Update mazes.cpp