Sinatra App to reverse a string