Update GuessTheCard.java

Removing TextIO.put dependency