Generates and probes a binary tree.