Updated lecture3.ipynb