Maximum Subarray Sum Leetcode Problem Set 6