Homework for Composite pattern.