Exercises from the book Head First Design Patterns.