Implemented calloc() and realloc().