This is taken from the first chapter of the Programming Rust book, as a tutorial. It is not my own code.