Added example and updated README.