Added some example code to the readme.