Core Formation During Early Accretion of the Earth