Codility_Solution_1