Update tree.pl

good?