Two Sum Javascript Leetcode Solution 973