Excercie 25: Tree size function
Excercise 26: Tree maximum function