A simple example of a binary search tree in Ruby