add non-recursive preorder traverse of binary tree