input: Write a python function to generate a histogram using matplotlib.
  assert generateHistogram([1, 2, 2, 3, 3, 3, 4, 4, 4, 4])==None
  assert generateHistogram([10, 20, 30, 40, 50, 50, 50, 60, 70, 80, 90])==None
  assert generateHistogram([5, 5, 5, 5, 5, 5, 5, 5, 5, 5])==None
output: import matplotlib.pyplot as plt
  
  def generateHistogram(data):
      plt.hist(data, bins='auto', edgecolor='black')
      plt.xlabel('Value')
      plt.ylabel('Frequency')
      plt.title('Histogram')
      plt.grid(True)
      plt.show()