insert and remove element from BST