3d Maze Generator Java