K-means using openMPI