working k-means example from mahout, annotated