use java syntax highlighting in README.md

with the amount of sample code in the documentation the readability can be improved by syntax highlighting
Merge pull request #85 from xorrr/patch-2

use java syntax highlighting in README.md