Basic Coding Exercises written in C++