Prettified java examples in readme.md, Made links relative instead