kmeans attempt 1