ex 3.25 - exercises with Tree ADTs