Fix create binary search tree implementation