Created helper functions for 'help.c' to reduce redundancy. Removed
the calls to calloc, snprintf, and otherwise cleaned up the code.