Add solution to Comparator exercise (day11).