Updating Java code to reflect playing cards.