Electron Configurations and the Periodic Table