add kmeans for project3