Create generatePermutation.cpp