Formation of Protoplanet Systems and Diversity of Planetary Systems