Partition of set, Cartesian product with examples and exercise