Examples in Java 8

Migrating some examples to Java 8. 
Also simplifying some of them and updating the READMEs.