Producing a phylogenetic tree