Work on KMEANS in C