Assignment 3, Question 3.3: Tree Map