Guessing Game

Sample code from "The Rust Programming Language" book.