created own map-reduce implementation of kclustering