codility lession 9