fastcluster: Fast Hierarchical, Agglomerative Clustering Routines for R and Python
Introduction to Algorithms, 3rd Edition