Add k-means, haven't tested.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>