adding lmalloc file

adding slab allocator for getting local memory which will be shared with user space. Still few changes are remaining