Update produce_summary.py

added report function and changed string formatting