get_cluster_assignments function

Return the indices of the trees assigned to each cluster, under the clustering of a given number of trees