created analyze3.cpp that shows data among parties