public HashMap<String,ArrayList<String>> combineBodyText(ArrayList<String> bodyPieces){
        ArrayList<String> bodyText = new ArrayList<String>();
        ArrayList<String> bodyPic = new ArrayList<String>();
        int i=0,j,k;
        while(i<bodyPieces.size()){
            String textStr = "";
            String picStr = "";
            if(!isPic(bodyPieces.get(i))) {
                for(j=i;j<bodyPieces.size() && !isPic(bodyPieces.get(j));j++){
                    textStr = textStr+bodyPieces.get(j)+"\n";
                }
                bodyText.add(textStr);
                i=j;
            }
            else{
                for(k = i;k<bodyPieces.size() && isPic(bodyPieces.get(k));k++){
                    picStr = picStr + bodyPieces.get(k)+",";
                }
                bodyPic.add(picStr);
                i=k;
            }
        }
        HashMap<String,ArrayList<String>> hashMap = new HashMap<String, ArrayList<String>>();
        hashMap.put("bodyText",bodyText);
        hashMap.put("bodyPic",bodyPic);
        return hashMap;
    }