Added edge cases to the 'max_2_sum' second method