Generate Lang block for each CBN

1. Generate global stmt for each stmt in a cbn
2. Generate a local var declaration for each stmt in a cbn
3. Generate a stmt to assign a local to its associated global var for
each stmt in a cbn
4. Extend AST->DS code emitter