simple-malloc: several cleanups
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

KelvinLi/C-tutorial,KelvinLi/C-tutorial