Add basic operations on a binary tree