- Added composite pattern.
- Implementation of composite pattern.