Experimenting with Sinatra and binary_trees