Added a new example: text

This example is not tested yet.