change code examples type signature to comments
add syntax highlighting to few more examples
remove unnecessary blank line in code example