solution to 3Sum Closest