3D GoL (to be optimized)