Maximum Contiguous Subarray Leetcode Problem 9 Solution