input: Write a python function to generate a bar chart for word frequencies.
  assert generate_bar_chart(["word1", "word2", "word3", "word4"], [5, 8, 3, 2]) == None
  assert generate_bar_chart(["apple", "banana", "cherry"], [10, 5, 7]) == None
  assert generate_bar_chart(["cat", "dog", "fish"], [4, 9, 2]) == None
output: import matplotlib.pyplot as plt
  
  def generate_bar_chart(words, frequencies):
      plt.figure(figsize=(10, 6))
      plt.bar(words, frequencies, color='blue')
      plt.xlabel('Words')
      plt.ylabel('Frequencies')
      plt.title('Word Frequencies')
      plt.show()