merge sort give a set S of n integers and another integer x, determine whether or not there exits two elements in S whose sum is exactly x.