Create max_sub_array.cpp

program to find the maximum subarray of a given arrray