Framework put in for binary tree.