Print 3D mazes from three different points of view. This is equivalent to cyclically permuting the coordinate axes, or, to put it another way, rotation about the (0,0,0)-(N,N,N) long diagonal.