States example added. README updated.