A script to automatically generate phylogenies and then bin trees on this basis (when provided a training set)