private void showCell(int x, int y){
        if((x < fieldSize)&&(y < fieldSize)) {
            System.out.print("[" + field[x][y] + "]");
        }
        else {
            System.out.println("Wrong data in showCell");
        }
    }