improvements to 9d, 9f and 10d

- 9d: much shorter code
- 9f: correlation could between name and mpg if there were more data points n
- 10d: replaced range with histograms for visual inspection which gives more insight