change double->float
started actually writing the nbody algorithm