Add BST library + unit tests