Create permuteAndCombine.cpp