Demonstrate lambda functions in Java 8.