Maximum sum contiguous subarray using kadanes algorithm.

Published --