syntax update ; README tweaks

Simplified the syntax of the looping constructs. Updated README.