n-body newtonian gravity simulator with OpenGL path visualiser