new k-means example

this one is large enough that we get a fabricated subset
fixed k-means algorithm

it now works, and catches errors, as it should. So far, so good, but
needs a lot of tests.
fixed reporting of k-means

by putting in a bunch of catches for when we're using the algorithm,
and then acting appropriately