Agglomerative hierarchical clustering for Python