Started working on kmeans, not finished yet.