A supercomputer simulation of iron and carbon atoms in Earth’s inner core may explain how a molten ball at the centre of our planet froze solid