Create getPermutation.cpp