A BTree implementation as a python C extension