Add itertools.permutations feature in Python