fast made binary tree implementation for a friend