input: from typing import List
  
  def generate_random_array(x: int, y: int, low: int, high: int) -> List[List[int]]:
      """Generate a x by y array of random integers ranging from 'low' to 'high'.
      >>> generate_random_array(3, 3, 1, 5)
      [[3, 1, 4], [2, 5, 4], [3, 1, 2]]
      >>> generate_random_array(2, 2, 1, 3)
      [[2, 3], [1, 2]]
      """
output:     import random
      return [[random.randint(low, high) for _ in range(y)] for _ in range(x)]