implemented find_max_subarray, using linear programming, page 75, exercise
4.1-5