add 2sum and 3sum