added clear method to BST