Create checkPair.cpp

Given an array A[] and a number x, check for pair in A[] with sum as x