input: Write a python function to generate a 2D numpy array with random integers between 1 and 10 of a given size.
  assert np.shape(generate_random_array(10, 7)) == (10, 7)
  assert np.shape(generate_random_array(5, 5)) == (5, 5)
  assert np.shape(generate_random_array(3, 4)) == (3, 4)
output: import numpy as np
  
  def generate_random_array(rows, cols):
      return np.random.randint(1, 11, size=(rows, cols))