Magnetic 3D puzzle