Day 9 - Exercise 1.2 - Tree transversal