Write a function that accepts the width and height (m, n) and an optional proc s and generates an array with m elements. Each element is a string consisting of either:
#) repeating n times (if no proc is given).n times.make_rug(3, 5) ➞ [
"#####",
"#####",
"#####"
]
make_rug(3, 5){|x| x = "$"} ➞ [
"$$$$$",
"$$$$$",
"$$$$$"
]
make_rug(2, 2){|x| x = "A"} ➞ [
"AA",
"AA"
]N/A