Adding the solutions of 3Sum_closest and 4Sum