KMeans algorithm using MapReduce