private void imprimirArreglo(){
        for (int i = 0; i < tablero.length; i++) {
            System.out.print(i+" ");
            for (int j = 0; j < tablero[i].length; j++) {
                System.out.print(tablero[i][j]);
            }
            System.out.println("");
        }
        for (int i = 0; i < tablero.length; i++) {
            System.out.print("   "+i);
        }
        System.out.println("");
        System.out.println("--------------------------------");
    }