More work on B-tree; wrote a toy allocator for store.c