Made the example in the README.md work.

I made the example in the README work. Javafant hinted me on what would work and I changed it.