Just a quickie to experiment with k-means clustering.
And it looks like it works.
You need gnuplot and a Go compiler
$ make
Should create random data and show it to you. Uses gnuplot to show you an image. Clusters are colored, centroids of clusters are angry red dots.