Build a binary search tree starting from scratch. It should support inserting a node and removing a node.