try to solve twoSum problem, but not yet a valid solution
Solution 1 works only for positive array.
Solution v2 consumes maybe too many memory

TODO: make the hash table denser