add preallocate table support
add Makefile
fix a minor bug
rename get_narray to calc_arrary_num
add some test
code style fix
throw a exception when exceed the max nesting
makefile flag changes
Update readme
Update README