Simple binary tree library.