Commit groovy counting for loop for euler p1.