Why does Carbon come before Nitrogen on the periodic table?