Implementation of a binary tree with custom sibling tree structure.