First commit for pybbg_k.py with ipython notebook