Implementation of a malloc library.