Exercices from codility