Algorithms in C++: Assignment 2 Solution