private void setCell(int x, int y, char cellValue){
        if(x < fieldSize && y < fieldSize && x >= 0 && y >= 0) {
            field[x][y] = cellValue;
        }
        else {
            System.out.println("Wrong data in setCell");
        }
    }