moved binary tree methods to a header file