Assignment 2 Patterns and Frameworks in C++