Updates to ipython notebooks
Added exercise for functions