Vanguard interview question

Populate a 2D array and square every value inside of it returning a new array.