Roblox interview question

range sum in a 2d array