codility lesson 10