How Was The Solar System Formed With Gravity