preorder iteration
preorder iteration
write_newick and before_after_applyw
simple newick tokenizer - not tested