Implement ch05/lambdas examples (in progress)