Implemented Card.hashcode().