trying to keep variable scope in closures. WIP
minimal closures working. need to output USE keyword for scoped variables
closures and 'use' keyword working