// NewMaze creates a new maze
NewMaze creates a new maze
// NewMaze creates a new maze
func NewMaze(height int, width int) *Maze {
	var directions [][]int
	for x := 0; x < height; x++ {
		directions = append(directions, make([]int, width))
	}
	return &Maze{directions, height, width, &Point{0, 0}, &Point{height - 1, width - 1}, &Point{0, 0}, false, false, false}
}
func NewMaze ( height int , width int ) * Maze { var directions [ ] [ ] int for x := 0 ; x < height ; x ++ { directions = append ( directions , make ( [ ] int , width ) ) } return & Maze { directions , height , width , & Point { 0 , 0 } , & Point { height - 1 , width - 1 } , & Point { 0 , 0 } , false , false , false } }
NewMaze creates a new maze
NewMaze creates a new maze