Example code now runs correctly.
Spaces -> tabs.
Merge pull request #1 from crazy2be/make-example-run

Make example run