Added BinaryTreeBuilder and tests