input: Write a function to generate a random integer between two given numbers, inclusive of both endpoints. If the input values are negative or zero, the function should handle them appropriately and still return a valid random number between the given range.
  
  assert random_number_generator(2, 5) in [2, 3, 4, 5]
  assert random_number_generator(-3, 5) in range(-3, 6)
  assert random_number_generator(0, 0) == 0
  assert random_number_generator(-1, -1) == -1
output: import random
  
  def random_number_generator(a, b):
      return random.randint(min(a, b), max(a, b))