Added LANGUAGE pragma and imports to README.

Now it runs as written.
Merge pull request #7 from startling/readme-fix

Make the code in the README run as written.