added an ipython magic function
that can run cpp inside a notebook cell