Leetcode 53 Maximum Subarray Algorithm