wrote code to output the clusterscenters.