add closure syntax examples
Some format changes the closure syntax example provided by aminmeyghani.
Resolves #1.
Removed original pull request file.
It's always good to double check what you are commiting...