Update README.md

Add extra documentation via an example for those needing information about flush function.