add binary tree in ruby