A simple implementation of malloc.