fix "key" example function in readme
Merge pull request #1 from jfromaniello/patch-1

fix "key" example function in readme
fix typo in doc