BST: tested the insert and search for root node