Itertools Combinations Hackerrank Solution For Python