A binary tree frame which implement some basic binary tree algorithm