Growth and Differentiation of Planets