itertools permutations syntax add function 'nextTo()'