private String[][] trimResponses(String[][] responses){
        String[][] responsesT = (String[][])responses.clone();
        int n = responses.length;
        int m = responses[0].length;
        for(int i=0; i<n; i++){
            for(int j=0; j<m; j++){
                responsesT[i][j].trim();
            }
        }
        return responsesT;
    }