use itertools.combinations