Collection of a small code exercises for C++