kmeans ex. solution