check if any two ints in a list [Int] sum to a given int.