Maximum Product Subarray Leetcode Python Practice