Added an example on how to implement a function that will work only
on types that implement a specific trait.