Added java 8 examples