Write a function that takes in an array of numbers and a number, and returns true if any pairs add up to the number. (The numbers in the array is not unique, meaning there may be duplicate numbers)
solution([1,2,22,333,23], 25) // returns true
solution([1,2,22,333,23], 24) // returns true