Quick script for hierarchical clustering