get pairs of integers that adds up to a target integer