Algorithm For Maximum Subarray Divide