nextPermutation.