Added example and updated readme.