Codility Lesson 1 solutions.
SRM 637 Div 2