input: Write a function to generate an array of random numbers between two specified values. The function should accept two parameters: `min` and `max`, and it should return an array of random integers within this range, inclusive of both `min` and `max`.
  assert generate_array(0, 50)==[some_random_sequence]
output: import random
  
  def generate_array(min, max):
      return [random.randint(min, max) for _ in range(max - min + 1)]