Write a function that accepts the width and height (m, n) and a string s and generates an array with m elements. Each element is a string consisting of:
n times.makeRug(3, 5, "#") ➞ [
"#####",
"#####",
"#####"
]
makeRug(3, 5, "$") ➞ [
"$$$$$",
"$$$$$",
"$$$$$"
]
makeRug(2, 2, "A") ➞ [
"AA",
"AA"
]N/A