whitespace style fixes
add malloc example

Unfortunately, this example is not exactly "simple", but it does
demonstrate malloc in semi-non-trivial situations.