Added class structures and methods for maze_solver