A simple malloc function using mmap