Changed the code so that it is just one function.  Now called MyKMeans.  Also added a lot of comments for the helper functions