modify the swap function in the series_permutation_recursion.cpp file