Import kmeans example from https://github.com/georgeha/k-means-version_2.