added examples and updated the readme file