tree class for day 2