Tree exercise from Day 2.