Added some sample code to the examples folder.