simple kmeans script