pairwise crossproduct in python,"[(x, y) for x in a for y in b]"