Doing some tutorials on java 8.