Generate Dynamic Table (mxn)