Unbreak examples in README

Two examples in the README are not valid erlang code; this commit fixes that.