Update an example in README.md

Example was based on the old syntax. ("$parameter" attribute was abolished, and "$length", "$gate", and other parameters should be written directly under 'pattern' objects.