Add for loop support
Merge pull request #34 from mojotech/cg/for_loop

Add for loop support