this is a KMean algorithm for 2d point set, and not finished yet