changes to the README
Added the example usage section.
Some modifications to generalize the example.