Added a sample Java program. Pretty rudimentary.