another example

added code for Another Small Example of the Type Class Pattern