n-body newtonian gravity simulator with 3D path visualisation