Maximum Product Subarray

too much if-else now