Transform values via Map() and flatMap() Write several snippets of code for exemplifying the usage of Optional.map() and flatMap().