iterative pre-order tree traversal