Kmeans with simulated data

Initialize centroids by randomizing:

points centroids

points = randomly choose cluster for each point, then calculate centroids

centroids = randomly choose k points to be centroids, then reassign points