Cartesian Product Of Sets In Python