Maximum Subarray Leetcode Python Solutions