Itertools.permutations Hackerrank Solution