input: Write a python function to generate all permutations of a list of words using itertools.permutations.
  assert generate_permutations(['dog', 'cat', 'fish']) == [('dog', 'cat', 'fish'), ('dog', 'fish', 'cat'), ('cat', 'dog', 'fish'), ('cat', 'fish', 'dog'), ('fish', 'dog', 'cat'), ('fish', 'cat', 'dog')]
  assert generate_permutations(['apple', 'banana']) == [('apple', 'banana'), ('banana', 'apple')]
  assert generate_permutations(['a', 'b', 'c', 'd']) == [('a', 'b', 'c', 'd'), ('a', 'b', 'd', 'c'), ('a', 'c', 'b', 'd'), ('a', 'c', 'd', 'b'), ('a', 'd', 'b', 'c'), ('a', 'd', 'c', 'b'), ('b', 'a', 'c', 'd'), ('b', 'a', 'd', 'c'), ('b', 'c', 'a', 'd'), ('b', 'c', 'd', 'a'), ('b', 'd', 'a', 'c'), ('b', 'd', 'c', 'a'), ('c', 'a', 'b', 'd'), ('c', 'a', 'd', 'b'), ('c', 'b', 'a', 'd'), ('c', 'b', 'd', 'a'), ('c', 'd', 'a', 'b'), ('c', 'd', 'b', 'a'), ('d', 'a', 'b', 'c'), ('d', 'a', 'c', 'b'), ('d', 'b', 'a', 'c'), ('d', 'b', 'c', 'a'), ('d', 'c', 'a', 'b'), ('d', 'c', 'b', 'a')]
output: def generate_permutations(words):
      from itertools import permutations
      return list(permutations(words))