My codility solutions