Two Sum Javascript Leetcode Solution 1255