use java syntax highlighting in README.md

with the amount of sample code in the documentation the readability can be improved by syntax highlighting