fix documentation for nextPermutation and nextEvenPermutation
Merge pull request #1822 from GassaFM/master

fix documentation for nextPermutation and nextEvenPermutation