public boolean game2()
    {   
        // YOUR CODE HERE 
        // Use the instance variable generator to simulate 
        // 24 rolls of a pair of dice.
        // Return true if at least one pair is both 6s. 
        boolean winner2 = false;
        for (int i = 0; i < 24; i++)
        {
            int dice1Roll = (generator.nextInt(6)+1);
            int dice2Roll = (generator.nextInt(6)+1);
            if (dice1Roll == 6 && dice2Roll == 6)
            {
                winner2 = true;
            }
        }
        return winner2;
    }