simple btree implementation in c