Addition of an example and improvements in the readme.