Electron Configuration and Ionic Bonding