Shows how to write a generic toString() method that works for any class.