XYZ can generate nc file. Atoms can share elem type.

Still unsure whether the nc file has all the informations, especially
arbitrary element types.