My implementation of k-means clustering.