almost done debugging the binary tree