Modified the Atom class to allocate different numbers of electron pairs to a given atom, depending on its element.