BT preorder traversal iterative version