added an example of using closure in java 8
added another example of using closure in java 8