implemented find_max_subarray, divide-and-conqure version, page 68-73