Solution for HackerMeter Basics: Double Duplicates question