public Board(String[][] board, int size) {
        this.boardSize=size;
        for(int i=0;i<boardSize;i++){
            for(int j=0;j<boardSize;j++){
                board[i][j]="-";
            }
        }
        this.boardArray = board;
    }