edited newick parser