Java SE 8 sample code and exercises