private static boolean solved()
    {
        for (String s: w.getEncrypted())
        {
            if (s.substring(0,1).equals("?"))
                return false;
        }
        return true;
    }