The latter Kmeans algorithm was in fact the Kmedoids algorithm, becaue
the centroids were elements.

The KMeans algorithm is work in progress.
KMedoids added
Minor change in DocumentClutering for the new KMedoids Algorithm