:added kmeans code