Add function examples for binary search trees