Two-way traversal non-recursive algorithm of binary tree (reciting version)