Adding comments to the k-means programs. Adding the writeup