simple-malloc: several cleanups

* Use size_t rather than int for array index
* Summarize operation in help string
* Factor out compute loop into a separate function
add preprocessor examples
describe project and declare license
wrap long lines

Limit line lengths to 79 characters.