Adds annotated k-mean clustering code to clusters.py