get maximum summation in a 2-dimension array to find its sub array