[python] Get the cartesian product of a series of lists?