Exercises for practising C++