n-body simulator for final project