Function name: permutation.next
Description:

Permute the given vector and get all the next possible permutations.

Authors: Manos Papadakis