add new function to dao. Now array can be read automatically.
add new function of out. Now can output new excel file automatically.

There are still some small places need to be optimized.