kmeans working

this function is working now... working on the rest of the assigment