Program to find the pair equal to given sum in an unsorted array.