//An instance of this class represents a Maze constructed from // a 2D grid of OPEN and BLOCKED Squares. //A solution of a Maze is a Path of orthogonally adjacent OPEN // Squares beginning at a specially designated OPEN Square and // ending at any OPEN Square on the boundary of the grid // import java.util.*; public class Maze { //Instance Variables private Grid grid; private Path path; private boolean traceOn; //Constructor public Maze(Scanner source) { } public void setTraceOn() { this.traceOn = true; } //Construct a solution of this Maze. //Return true if the construction succeeds, otherwise false public boolean solve() { return false; } public String toString() { return "" + this.grid + "\n" + this.path; } }