Programming Challenges implemented in C++