Dominator coding task - Learn to Code - Codility