Maze Android Application converted from Java Applet