add Maximum subarray problem algorithm