Malloc implementation using Unix system calls - C