Doing first teaching notebook in IPython Notebook