handling multiple images for task_3
just separated the plt.show() to be callable separately