added flatMap example for scala flavored monadic composition.