Added kmeans algorithm