public ArrayList<int[]> generar() {
        ArrayList<int[]> l = new ArrayList();
        try {
            BufferedReader in = new BufferedReader(new FileReader(this.document));
            while (in.ready()) {
                String tmp = in.readLine();
                String[] tmpl = tmp.split(",");
                if (tmpl.length != 2) {
                    return l;
                } else {
                    int[] tmpln = {Integer.parseInt(tmpl[0]), Integer.parseInt(tmpl[1])};
                    l.add(tmpln);
                }
            }
            return l;
        } catch (Exception e) {
            return l;
        }
    }