MaximumProductSubarray: add a solution with a more clear logic.