Update readme with a better example (the one posted on the elixir google groups); add errors function