final btree stuff

Signed-off-by: Nathan <ndm25@ase.edu>