TREE W/ TRAVERSALS CODE:
OUTPUT: