Randomly generated maze in a 3D environment