C++ Solutions to the practise problems given at https://codility.com/programmers/lessons/