Added a code example to the README.