a simple nbody for the moshpits project