make_newick function

Create a newick for the given dataset.