added code to plot phylogeny