Write the electron configuration for each of the following:
(a) Magnesium______________
(b) Chlorine______________
(c) Potassium______________
(d) Fluorine______________