free allocated memory in structures/bst.h