public int getTruthState()
    {
        int[] truthStates = new int[nines.size()];
        for(int i=0; i<nines.size(); i++)
        {
            truthStates[i] = nines.get(i).getTruthState();
        }
        int wrong = 0;
        int incomplete = 0;
        int solved = 0;
        for(int i=0; i<nines.size(); i++)
        {
            if(truthStates[i]==-1){wrong++;}
            if(truthStates[i]==0){incomplete++;}
            if(truthStates[i]==1){solved++;}
        }
        if(wrong>0)
        {
            return -1;
        }
        else if(solved==nines.size())
        {
            return 1;
        }
        else
        {
            return 0;
        }
    }