ipy notebook of Kmeans code