added 2-sum from coursera algs1