updated plot_progress to generate graph of progress with time