add MapReduce version of clustering