Added an example of the Composite pattern