An implementation of the game described at http://doc.rust-lang.org/guide.html#guessing-game