Create a function that calculates what percentage of the box is filled in. Give your answer as a string percentage rounded to the nearest integer.
percentFilled([
"####",
"# #",
"#o #",
"####"
]) ➞ "25%"
// One element out of four spaces.
percentFilled([
"#######",
"#o oo #",
"#######"
]) ➞ "60%"
// Three elements out of five spaces.
percentFilled([
"######",
"#ooo #",
"#oo #",
"# #",
"# #",
"######"
]) ➞ "31%"
// Five elements out of sixteen spaces.
"o" will fill the box and also "o" will not be found outside of the box."#" on the sides).