Add java 8, lambda based solution.