My codility implementations