2d Array Maze Java