update bitree.c, add remove function