Implemented and tested BST.