Add example of using Optional

Based on tutorial at http://www.oracle.com/technetwork/articles/java/java8-optional-2175753.html