Enter input file name: maze1.txt
Enter X position: 1
Enter Y position: 1
Start Position: 1,1
* *******
* * *
* ***** *
* * * *
* * *** *
* * *
*** * * *
* * *
******* *
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 9
at ch_13_maze.Maze.excape(Maze.java:28)
at ch_13_maze.Maze.excape(Maze.java:34)
at ch_13_maze.Maze.excape(Maze.java:34)
at ch_13_maze.Maze.excape(Maze.java:34)
at ch_13_maze.Maze.excape(Maze.java:34)
at ch_13_maze.Maze.excape(Maze.java:34)
at ch_13_maze.Maze.excape(Maze.java:34)
at ch_13_maze.Maze.excape(Maze.java:34)
at ch_13_maze.Maze.excape(Maze.java:34)
at ch_13_maze.Main.main(Main.java:67)
Java Result: 1