add recursive solution for max subarray