Simulation of solar system