Writing Electron Configuration