Function name: permutation
Description:

Permute the given vector and get all the possible permutations.

Authors: Manos Papadakis