Ruby binary tree.