algo4: tree: Binary tree preorder traversal