cluster_docs function

Cluster documents using K-means