Codility Examples Solutions