結果 : non recursive algorithm for preorder traversal of binary tree