DynArray : Implement the function of multidimensional array

Now we can obtain a random dimension array by using the function
of muti_arr.
DynArray : split the function as an interface

Abstract the functions into .c file, and provide the interface
in an .h head file.