Create Kadane's Algorithm

Kadane's algorithm for max sum sub sequence in an array