private String diager(int pointer) {
        String diag = "";
        switch (pointer) {
            case 0: {
                for (int i = 0; i < EngineField.sizeField; i++) {
                    diag = diag + EngineField.f1.get(EngineField.sizeField - 1 - i).get(i);
                }
                break;
            }
            case 1: {
                for (int i = 0; i < EngineField.sizeField; i++) {
                    diag = diag + EngineField.f1.get(i).get(i);
                }
                break;
            }
        }
        return diag;
    }