DynamicAcc: handle basic folds
WIP: Work on generate.  Begin converting between indices and tuples.