my code zone while reading Head First Design Patterns