cluster:preorder traverse the hierarchical clusters to print it