Add comments to NextPermutation