Added match method to Card class for next phase of project.