added java program
Minor tweaks.
Merge branch 'master' of https://github.com/rirwin/sandbox