add two sum problem solution and test case