Fix failure to import itertool.product in combinations_with_replacement

combinations_with_replacements doesn't work in python 2.6 because itertools.product was not imported.