Finished k-means portion of exercise