findRoot buldTree merged to tree.pl