add 2-SUM (Stanford course)

2-SUM problem from Coursera's Stanford course on algorithms. Not a naive hash-table implementation.