A simple binary tree implemetation in ruby