Add kmeans main and kmeans_read