create allcombinations.cpp