binary tree class complete