implemented n-body parallel, not tested yet