// assign closest centroid function assignCentroids(means) { // YOUR CODE }