README: fix some glaringly obvious bugs in example code