C++11 does have lambdas

C++11 does have lambdas. Update code examples.
Merge pull request #4 from chisophugis/patch-1

C++11 does have lambdas