Agglomerative 2 : Code added for merging clusters.