Added Kadane's Algorithm