private ArrayList<String> unfold(ArrayList<String> source){
        ArrayList<String> unfoldedList = new ArrayList<String>();
        String str;
        for(int i = 0;i<source.size();){
            str = source.get(i);
            while(++i<source.size() && source.get(i).charAt(0) == ' '){
                str = str.concat(source.get(i).trim());
            }
            unfoldedList.add(str);
        }
        return unfoldedList;
    }