Committing homework 7: K-Means clustering on Hadoop.