Delete a node in Binary Search Tree

code: