finished 2 taks (binary tree traversal)