DSA - Trees And Traversal - tasks 1, 2