Add solution to 3 sum (leetcode)