Playing around with the new features of Java 8