started writing javadoc for Card class