Program to find the maximum sum subarray in 2-d array