input: Write a function to count the frequency of each word in a list of words.
  assert count_word_frequency(["word", "word", "words", "python"]) == {'word': 2, 'words': 1, 'python': 1}
  assert count_word_frequency(["apple", "banana", "apple", "orange", "banana", "banana"]) == {'apple': 2, 'banana': 3, 'orange': 1}
  assert count_word_frequency(["a", "b", "a", "a", "b", "c"]) == {'a': 3, 'b': 2, 'c': 1}
output: def count_word_frequency(words):
      frequency = {}
      for word in words:
          if word in frequency:
              frequency[word] += 1
          else:
              frequency[word] = 1
      return frequency