public static void main(String[] args) {
        Scanner console = new Scanner(System.in);
        Guess g = new Guess();
        giveIntro();
        int numGames = 0;  // total number of games user play
        int totGuesses = 0; // total number of guesses in all games played
        // while or do while loop
        // Call playGame to play one game.
        // ask if user wants to play again.
        // update numGames and totGuesses.
        String sysInput = "";
        while ( !sysInput.equalsIgnoreCase("Y") && !sysInput.equalsIgnoreCase("Yes") ){
          
          if ( numGames > 0 ){
           System.out.println("Would you like to play again?");
           sysInput = console.nextLine(); 
           if ( sysInput.equalsIgnoreCase("Y") || sysInput.equalsIgnoreCase("Yes") ){
             sysInput = "";
            totGuesses += g.playGame(console);
            numGames++;
           }
           else if ( sysInput.equalsIgnoreCase("n") || sysInput.equalsIgnoreCase("no") ){
            break; 
           }
          }
          else if (numGames == 0 ){
          totGuesses += g.playGame(console);
          numGames++;
          }
          
        }
        
        
        
        
        
        
        //once user is done playing, report results.
        reportResults(numGames, totGuesses);
    }