Added an example script into examples dir.