MYPERMS - computes all possible combinations of the input
V=MYPERMS[P, L] returns all possible combinations of the
input vector of integers with L numbers.
Copyright 2011 Dimitrios Zeimpekis, Eugenia Maria Kontopoulou,
Efstratios Gallopoulos