add binary search tree in ruby