Added the maximum subarray problem in C