Created bintree class