r problem solving logical format for writing thesis and paper in research methodology