public static void main( String[] args ) {

        if ( args.length == 0 ) {
            args = new String[1];
            args[0] = "3esl.txt";
        }

        AnagramGenerator anagramGenerator = new AnagramGenerator( args[0], 3, 6 );

        while ( true ) {
            System.out.println( "enter 6 characters and click enter. <exit> to exit" );
            String input = readInput().trim();
            if ( input.toUpperCase().equals( "EXIT" ) ) {
                break;
            }
            if ( input.length() == 6 ) {
                System.out.println( "ha introducido: " + input );
                Collection< Set< String >> returnListOfSets = anagramGenerator.generate( input );
                System.out.println( "switch to wordchallenge's window !!! you have 3 seconds !!!" );
                AnagramTypingRobot.printToKeyBoard( returnListOfSets );
            } else {
                System.out.println( "la longitud debe ser de 6 caracteres" );
            }
        }
    }