input: Write a python function to generate all subsets of a given set.
  assert get_subsets([1, 2, 3]) == [[], [1], [2], [1, 2], [3], [1, 3], [2, 3], [1, 2, 3]]
  assert get_subsets([1, 2]) == [[], [1], [2], [1, 2]]
  assert get_subsets([1]) == [[], [1]]
  assert get_subsets([]) == [[]]
output: def get_subsets(s):
      subsets = [[]]
      for element in s:
          subsets += [current + [element] for current in subsets]
      return subsets