Card Comparing Function Added

Added compareCard() for baseline card comparison functionality