Initial check-in of base implementation of malloc.