Code Examples from the Head First Design Patterns book