added standalone kmeans code