input: Write a python function to generate a list of integers from start to end.
  assert generateList(2, 6) == [2, 3, 4, 5, 6]
  assert generateList(1, 5) == [1, 2, 3, 4, 5]
  assert generateList(0, 0) == [0]
  assert generateList(-2, 2) == [-2, -1, 0, 1, 2]
output: def generateList(start, end):
      return list(range(start, end + 1))