add BTNode.prototype.search() and  AVLNode.prototype.search() methods