Kmeans Code for Final Project