Pure Java n-body simulator