See the solutions under nbviewer. Or download the .ipynb file here.