updating BST delete method

Signed-off-by: jonnyhsy <jonnyhsy@foxmail.com>