Maximum Contiguous Subarray Dynamic Programming Examples