added code example to README