input: Write a function to create a 3X3 array of random integers ranging from 1 to 5 using the NumPy library. The function should return the generated array.
  assert np.array_equal(np.random.randint(1, 6, size=(3,3)).shape, (3, 3))
  assert np.all(np.random.randint(1, 6, size=(3,3)) >= 1)
  assert np.all(np.random.randint(1, 6, size=(3,3)) <= 5)
output: import numpy as np
  
  def generate_random_array():
      return np.random.randint(1, 6, size=(3, 3))