Formatting change for readme.md

Change to correctly format the example java class in README.md