Source code written when I'm reading "Head First Design Pattern"