update readme with example and reformat it as Markdown