max subarray still failing