Rough logical B-Tree drawing code

This is broken for B-Trees with more than 2 levels, and will probably
need to be re-written in pl/python, to conveniently map block number to
logical page number (logical page number is 0 for the root page, with
subsequent values assigned sequential during a depth-first walk of the
tree, left-to-right).