serial nbody implementation added