Update allocator.c

draft of sal_init and sal_end have been written (though not tested)