The python implementation of kmeans cluster algorithm