A binary tree implemented in Ruby