added legends and exercise 4 ipynb