Starting to write matrix rectangular region sum program