Solutions to the Codility lessons.