Find Pairs With Given Sum Leetcode Javascript 30