Maximum Product Subarray In Python