Adding Java examples

Added examples for Echo and Count in examples/java and instructions on how to run.