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