Binary Search Tree in Ruby