updating Card.java with accessor and mutator methods