public String[] copy(String[] board){
        String[] newboard = new String[board.length];
        for(int i = 0 ; i<board.length ; i++){
            newboard[i] = board[i].substring(0);
        }
        return newboard;
    }