allocation.c add
allocation.c: ns_alloc() implemented