Clustering

See below for pseudocode of 2 clustering algorithms: K-means and Agglomerative clustering.