input: Write a python function to generate a random integer within a given range using Python's random.randint() method.
  assert min <= generate_random(min, max) <= max
  assert 1 <= generate_random(1, 10) <= 10
  assert 50 <= generate_random(50, 100) <= 100
output: import random
  
  def generate_random(min, max):
      return random.randint(min, max)