adding example to readme and a demo file