Updated Maze.cpp

Iterates over entire board for saving the coordinates of the board.