impl. TwoSumInArray, add unit test