Add ipynb

Adding the ipython notebook from james’s session