create an image of a random binary search tree