kMeans algorithm implemented in multiple lanuages