Pearson interview question

design patterns, really easy coding exercise.