Exercises on Design Patterns