Added example code to README.