itertools in python; mike covariates