added memory management to array.h
fixed _call_c_method in asm deps