initial answer to bst in ruby