binary tree print modification