First exercise of Design Pattern Course