reuse: add example from tutorial

This adds the example provided in the standard Rust tutorial, with a
short description, to provide an example of using traits for reuse.