def generateArray(size):
    """Return a 2D array full of 0.

    Args:
      size (int): number of row and number of column

    Returns:
      [array]: 2D array full of 0
    """

    return [[0 for x in range(size)] for y in range(size)]