Maximum Subarray Sum Dynamic Programming Examples