Implement a parallel algorithm to solve the Nbody problem