find in an array the possible pair that add to the provided sum