An N-Body Simulator