Added some functions in BST