Maximum Subarray Leetcode Solution In Python What Is An Object