import itertools


def permutate_list(lst):
  """
  [1,2,3] => [[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]]
  :param lst: List of values
  :return: All permutations of the list
  """
  if not lst:
    return None
  return map(list, itertools.permutations(lst))