adding functionality to FlagQuizGame.java