README: Fix broken code examples

Closes #1.