Update TwoSum.h

your hash_table method is wrong.
try this case: { 3, 2, 4 }