Tree traversal: Recursive, Iterative, and Morris