Partitional Hierarchical Clustering Algorithm