ds: add binary tree operations