Adding ipython notebook from Lecture 12.  This is not complete.