updates README with an example of a method with user options

Added example could be useful when getting started

@yannickcr please merge