README: add comments to example code