How is the solar system is formed step by step?