3D Mazes in Java