Simulates the planetary motion of N bodies in space