added new functions and implemented few of them in bst.c