Rack app to reverse a string