https://warrenniu.medium.com/matrix-region-sum-finding-the-sum-of-numbers-inside-the-rectangle-a58c61cfcc92