How we know about the Earths core