add notebook() function to launch the notebook from the REPL as discussed in #199