finish binary tree creator util