add nextPermutation.cpp