https://carisca.github.io/posts/ground-state-electron-configuration-cr2/