Using intertools.product to generate progressions.