solution to Sinatra webguesser tutorial: http://tutorials.jumpstartlab.com/projects/web_guesser.html