add remove function for binary tree