version 0.1 of kmeans