Add a sample to use K-means clustering