kmeans Implementation of the K-means algorithm with plotting Above, green x's are the k discovered centroids, while the blue x's are the initial centroids.