Composite pattern example creating