public static void main(String[] args) {
        int start = 0, end = 100;
        /*if (args.length > 0) {
            start = Integer.parseInt(args[0]);
            end = Integer.parseInt(args[1]);
        }*/
        Solver solver = new Solver();
        try {
            solver.readDictionary("files/dicio.txt");
            solver.readBoard("files/sopa.txt");
        } catch (FileNotFoundException ex) {
            System.err.println("File not found.");
            return;
        } catch (IOException ex) {
            System.err.println("Error while reading file.");
            return;
        }
        try {
            solver.solve("files/words.txt", start, end);
        } catch (IOException ex) {
            System.err.println("Error while writing output.");
            return;
        } catch (InterruptedException | ExecutionException ex) {
            System.err.println("Error processing results.");
            return;
        }
    }