Refine the code of BinarySearchTree with delete(), deleteMin(),
deleteMax(), floor(), ceil() methods