initial commit, completed code for computeCentroids and findClosestCentroids