Magnesium element cell