Sample codes to try Java 8 Features