Commit problem binary tree pre-order iterative traversal