Added a function to find Card Pair