added more task for binary tree traversal