Create bptree.py