Pearson Interview Question

design patterns, really easy coding exercise.