passes brk test
got realloc to work