input: Write a python function to create a histogram of elements in a list.
  assert histogram_elements([1, 2, 2, 3, 3, 3, 4]) == {1: 1, 2: 2, 3: 3, 4: 1}
  assert histogram_elements(['a', 'b', 'b', 'c', 'c', 'c']) == {'a': 1, 'b': 2, 'c': 3}
  assert histogram_elements([True, False, True, True, False]) == {True: 3, False: 2}
output: def histogram_elements(lst):
      histogram = {}
      for element in lst:
          if element in histogram:
              histogram[element] += 1
          else:
              histogram[element] = 1
      return histogram