Walk through a tree recursively