correction in allCombinations test of problem2