Added K-means clustering.