input: Write a function to find the index of a target word in a list of words.
  assert find_word_index(["apple", "banana", "cherry"], "banana") == 1
  assert find_word_index(["dog", "cat", "bird"], "cat") == 1
  assert find_word_index(["hello", "world"], "python") == -1
output: def find_word_index(words, target):
      try:
          return words.index(target)
      except ValueError:
          return -1