trees and traversals task 1