Add example.

Signed-off-by: Andrew Eades <andrew.eades@gmail.com>