added valloc.c, a replacement for vmem