Added ipython notebook for lecture 9.