fix random binary tree example