added: maxProductSubarray solution