Update GuessTheCard.java

Removed TextIO.getln dependency