wrote stub for parallel k_means