Implemented .select() for bst dicts in ruby
Use idiomatic ruby syntax