- Reintroduce `display_summary` function to calculate and display the highest, lowest, and average temperatures.
- Ensure the summary is printed when the script exits by calling `display_summary()` in the `finally` block.
- Update comments to reflect the restored functionality.