Linear Algorithm for 2SUM on a sorted array.