5.1.7 'base_permutation'
------------------------

base_permutation(L)
     : It outputs all permutations of L.  BUG; it uses a slow algorithm.
   Example:
      base_permutation([1,2,3,4]);

