An attempt to walk the tree using a for loop.