begin maximum subarray problem leetcode 53